/*
============================================================================
 Name        : pd_image.h
 Author      : Jian(raphyer@hotmail.com)
 Version     :
 Copyright   : GPL
 Description : pd_bitmap.h - header file
============================================================================
*/

#ifndef PD_IMAGE_H
#define PD_IMAGE_H

#include "dd_ui_base.h"

__DD_BEGIN_DECLS

typedef struct __pd_image { 
    char dummy;
} pd_image;

// typedef void (*pd_img_ready_callback)()

pd_image* pd_img_create(const DD_UNICODE* img_file, dd_size size) ;

// pd_image* pd_img_create_by_data(void* img_data, dd_size size) ;

void pd_img_destroy(pd_image* img) ;

DD_BOOL pd_img_is_ready(pd_image* img) ;

dd_size pd_img_size(pd_image* img) ;

__DD_END_DECLS

#endif  /* PD_IMAGE_H */

/* End of File */
